package com.dragons.dragonsvf.entities;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;

import java.sql.Timestamp;

/**
 * @author Dragons.G
 * @date 2025-06-26 11:48:43
 * @description 后台用户数据类
 */
public class MAuthDTO {

    private String id; // 唯一的32位的
    private String usr; // 用户名
    //private String across_num; // 密码
    private String enAcross; // 加密后的密码
    private String enType; // 加密算法
    private String email; // 电子邮件
    private String tel; // 电话号码
    private String wechat; // 微信相关信息
    private String avatar; // 头像minio链接
    private String role; // 角色编号
    private String isFrozen; // 是否冻结 0 不冻结 1 冻结
    private Timestamp createTm; // 创建时间 timestamp格式
    private Timestamp updateTm; // 最新修改时间timestamp格式
    private String avatarBase64; // 头像base64编码
    private String command; // 重置密码口令

    public void setCommand(String command) {
        this.command = command;
    }

    public String getAvatarBase64() {
        return avatarBase64;
    }

    public void setAvatarBase64(String avatarBase64) {
        this.avatarBase64 = avatarBase64;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsr() {
        return usr;
    }

    public void setUsr(String usr) {
        this.usr = usr;
    }

    public String getEnAcross() {
        return enAcross;
    }

    public void setEnAcross(String enAcross) {
        this.enAcross = enAcross;
    }

    public String getEnType() {
        return enType;
    }

    public void setEnType(String enType) {
        this.enType = enType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getIsFrozen() {
        return isFrozen;
    }

    public void setIsFrozen(String isFrozen) {
        this.isFrozen = isFrozen;
    }

    public Timestamp getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Timestamp createTm) {
        this.createTm = createTm;
    }

    public Timestamp getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Timestamp updateTm) {
        this.updateTm = updateTm;
    }
}
